Component({
  data: {},
  properties: {
    taps: {
      type: Array,
      value: []
    }
  },
  methods: {
    handleclick(e) {
      const {
        index
      } = e.currentTarget.dataset;

      //触发父组件自定义事件
      this.triggerEvent("tapsItemChange", {
        index
      })
    }

  }
})